def firstTest(){

    node(''){
        stage('build'){
            echo "Second stage"
            }

        stage('Cleanup workspace'){
            echo "cleanup workspace"
            }
    }
}


def testTwo(){

    node(''){
        stage('build'){
            echo "Second stage"
        }

        stage('Cleanup workspace'){
            echo "cleanup workspace"
        }
    }
}

return [
        firstTest: this.&firstTest,
        testTwo: this.&testTwo
]
